/*
 * this file use AGCode auto generate.
 * Project home page: https://gitee.com/you-yuan/AutoGeneratorCode
 * Copyright(c) 2022. YouYuan https://gitee.com/you-yuan/
 */

package com.yuan.springcloud.user.bean.vo;

import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.NotEmpty;

/**
 * 用户签到记录VO
 * @date 2022-04-10 08:06:48
 * @author YouYuan
 */
@Data
@ApiModel("用户签到记录VO")
public class UserSignVO {

    @NotNull(message = "用户id不能为空")
    @ApiModelProperty(value="用户id", required=true)
    public Long userId;

    @Length(max=140, message="签到地址不能超过140个字符")
    @NotEmpty(message = "签到地址不能为空")
    @ApiModelProperty(value="签到地址", required=true)
    public String address;

}
